if Variable CRYSTAL20 Equals FALSE
  Set Variable PROGRESSTEXT to Installing Crystal Reports 2008 Runtime SP2
  Set Variable CRYSTAL20FILES to 
  Define File Bag : C:\Program Files (x86)\InstallAware\InstallAware 15\runtimes\crystal20bin\*.*, get runtime location of files into variable CRYSTAL20FILES
  Set Variable CRYSTAL20ERR to 
  Install/Remove MSI Package $CRYSTAL20FILES$\CRRuntime_12_4_mlb.msi[ADDLOCAL=ALL] (get result into variable CRYSTAL20)
  if Variable CRYSTAL20 Equals REBOOT
    MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. You will have to run setup again at a later time to install $TITLE$.
    if Variable REBOOTNOW Equals OK
      Reboot Computer and Resume Setup
    else
      Terminate Installation
    end
  else
    if Variable CRYSTAL20 Equals ERROR
      MessageBox: $TITLE$ Setup, Crystal Reports 2008 Runtime SP4 could not be installed. Please visit the SAP website to manually install this update on your system.$NEWLINE$$NEWLINE$$TITLE$ Setup cannot continue.
      Terminate Installation
    end
  end
end
 
